<script setup lang="ts">
import { ref } from 'vue'

// defineProps<{ msg: string }>()

// const count = ref(0)
</script>

<template>
  <div class="topbar">
    <nav>
      <a class="active" href="#basic-information">基本资料</a>
      <a href="#personal-advantage" tabindex="1">个人优势</a>
      <a href="#work-experience">工作经历</a>
      <a href="#project-experience">项目经历</a>
      <a href="#educational-experience">教育经历</a>
    </nav>
  </div>
</template>

<style lang="scss" scoped>
.topbar {
  height: 50px;
  background-color: #FFC30090;
  display: flex;
  align-items: center;

  >nav {
    width: 100%;
    display: flex;
    justify-content: space-around;

    >a {
      text-align: center;
      border-radius: 40px;
      padding: 0 10px;
      height: 30px;
      line-height: 30px;
      color: var(--main-color);
      font-size: 14px;

      &.active {
        background-color: #fff;
      }
    }
  }
}
</style>
